package com.lemi.common.base.dao;

import com.lemi.common.base.entity.BaseEntity;
import tk.mybatis.mapper.common.base.BaseDeleteMapper;
import tk.mybatis.mapper.common.base.BaseInsertMapper;
import tk.mybatis.mapper.common.base.BaseSelectMapper;
import tk.mybatis.mapper.common.base.BaseUpdateMapper;
import tk.mybatis.mapper.common.example.SelectByExampleMapper;
import tk.mybatis.mapper.common.example.UpdateByExampleMapper;
import tk.mybatis.mapper.common.example.UpdateByExampleSelectiveMapper;
import tk.mybatis.mapper.common.special.InsertUseGeneratedKeysMapper;

/**
 * @author kevin
 * @since 2020/7/3 2:23 PM
 */
public interface BaseDao<T extends BaseEntity> extends BaseSelectMapper<T>, BaseInsertMapper<T>, BaseUpdateMapper<T>,
        BaseDeleteMapper<T>,
        SelectByExampleMapper<T>,
        UpdateByExampleMapper<T>,UpdateByExampleSelectiveMapper<T>,
        InsertUseGeneratedKeysMapper<T> {
}
